package com.craterhill.java.ems.web.authenticator;

import org.springframework.security.core.GrantedAuthority;

public class CHTCGrantedAuthority implements GrantedAuthority {

	private static final long serialVersionUID = 1L;

	private final String roleName;

	public CHTCGrantedAuthority(final String roleName) {
		this.roleName = roleName;
	}

	@Override
	public String getAuthority() {
		return this.roleName;
	}
}
